package com.uxhao.educenter.service;

import com.uxhao.educenter.entity.UcenterMember;
import com.baomidou.mybatisplus.extension.service.IService;
import com.uxhao.educenter.entity.dashboard.WeekDataVo;
import com.uxhao.educenter.entity.vo.*;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author uxhao
 * @since 2022/01/19
 */
public interface UcenterMemberService extends IService<UcenterMember> {

    String login(LoginVo loginVo);

    void register(RegisterVo registerVo);

    UserInfoVo getLoginInfo(String memberId);

    UcenterMember getByOpenid(String openid);

    Integer countRegisterByDay(String day);

    Integer countAllRegister();

    WeekDataVo countlastWeekRegister();

    WeekDataVo countCurrentWeekRegister();
}
